package com.jeff.tianti.org.entity;

import com.jeff.tianti.common.entity.BaseEntity;
import org.hibernate.type.IntegerType;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author guost
 * @Date 2019/1/29 20:40
 **/
@Entity
@Table(name = "hyjjh_patient")
public class Patient extends BaseEntity {
    private String name;
    private String sex;
    private String nation;
    private Integer age;
    private String identityCard;
    private String patientDesc;
    private String idCardPhoto;
    private String helpApplication;
    private String xPhoto;
    private String mobile;
    private String wechat;
    private String qq;
    private String email;

    @Column(name = "name",length=50)
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    @Column(name="sex" ,length=2)
    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
    @Column(name="identity_card",length=20)
    public String getIdentityCard() {
        return identityCard;
    }

    public void setIdentityCard(String identityCard) {
        this.identityCard = identityCard;
    }
    @Column(name = "age",length = 2)
    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
    @Column(name = "patientDesc", length = 300)
    public String getPatientDesc() {
        return patientDesc;
    }

    public void setPatientDesc(String patientDesc) {
        this.patientDesc = patientDesc;
    }

    @Column(name = "nation", length = 30)
    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }
    @Column(name = "idcard_photo", length = 100)
    public String getIdCardPhoto() {
        return idCardPhoto;
    }

    public void setIdCardPhoto(String idCardPhoto) {
        this.idCardPhoto = idCardPhoto;
    }
    @Column(name = "help_application", length = 100)
    public String getHelpApplication() {
        return helpApplication;
    }

    public void setHelpApplication(String helpApplication) {
        this.helpApplication = helpApplication;
    }
    @Column(name = "xphoto", length = 100)
    public String getxPhoto() {
        return xPhoto;
    }

    public void setxPhoto(String xPhoto) {
        this.xPhoto = xPhoto;
    }

    @Column(name = "mobile",length = 20)
    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
    @Column(name = "wechat",length = 20)
    public String getWechat() {
        return wechat;
    }

    public void setWechat(String wechat) {
        this.wechat = wechat;
    }
    @Column(name = "qq",length = 20)
    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }
    @Column(name = "email",length = 40)
    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
}
